<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>个人中心</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" rel="stylesheet">
  <style>
    /* 自定义一些简单的样式 */
    .profile-pic {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      object-fit: cover;
    }
  </style>
</head>

<body class="bg-gray-100">
<!-- 顶部导航栏 -->
<header class="bg-white shadow-md">
  <div class="container mx-auto px-4 py-3 flex justify-between items-center">
    <div class="logo-container">
      <span class="text-xl font-bold text-blue-600">浮点流觞</span>
    </div>
    <div class="sub-nav space-x-4">
      <a href="#" class="text-gray-600 hover:text-blue-600">个人中心</a>
      <a href="#" class="text-gray-600 hover:text-blue-600">商家中心</a>
      <a href="#" class="text-gray-600 hover:text-blue-600">帮助中心</a>
      <a href="#" class="text-gray-600 hover:text-blue-600">联系客服</a>
      <a href="#" class="text-gray-600 hover:text-blue-600">网站导航</a>
    </div>
  </div>
</header>

<!-- 个人中心主体内容 -->
<div class="container mx-auto px-4 py-8">
  <div class="flex flex-col md:flex-row space-y-4 md:space-y-0 md:space-x-8">
    <!-- 侧边栏菜单 -->
    <div class="w-full md:w-1/4 bg-white rounded-md shadow-md p-4">
      <div class="flex flex-col space-y-2">
        <a href="#" class="text-gray-600 hover:text-blue-600">我的资料</a>
        <a href="#" class="text-gray-600 hover:text-blue-600">我的房源</a>
        <a href="#" class="text-gray-600 hover:text-blue-600">我的收藏</a>
        <a href="#" class="text-gray-600 hover:text-blue-600">消息通知</a>
        <a href="#" class="text-gray-600 hover:text-blue-600">设置</a>
        <a href="#" class="text-gray-600 hover:text-blue-600">退出登录</a>
      </div>
    </div>
    <!-- 主内容区域 -->
    <div class="w-full md:w-3/4 bg-white rounded-md shadow-md p-4">
      <!-- 用户信息展示 -->
      <div class="flex items-center space-x-4 mb-4">
        <img src="https://picsum.photos/100/100" alt="用户头像" class="profile-pic">
        <div>
          <h2 class="text-xl font-bold">张三</h2>
          <p class="text-gray-600">普通用户</p>
        </div>
      </div>
      <!-- 我的房源展示 -->
      <h3 class="text-lg font-bold mb-2">我的房源</h3>
      <div class="space-y-4">
        <!-- 房源卡片示例 -->
        <div class="border border-gray-300 rounded-md p-4 flex justify-between items-center">
          <div>
            <h4 class="text-md font-bold">软件园 周末欣苑 1 室 53.00㎡</h4>
            <p class="text-gray-600">整租，1530 元/月</p>
          </div>
          <div class="flex space-x-2">
            <a href="#" class="text-blue-600 hover:underline">编辑</a>
            <a href="#" class="text-red-600 hover:underline">删除</a>
          </div>
        </div>
        <!-- 更多房源卡片可按此格式添加 -->
      </div>
    </div>
  </div>
</div>
</body>

</html>
